package com.zzyl.nursing.service;

import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.nursing.dto.FamilyMemberDto;
import com.zzyl.nursing.dto.LoginVo;
import com.zzyl.nursing.dto.UserLoginRequestDto;
import com.zzyl.nursing.vo.FamilyMemberElderVo;
import com.zzyl.nursing.vo.FamilyMemberVo;

public interface IFamilyMemberService {

    /**
     * 登录
     * @param loginRequestDto
     * @return
     */
    LoginVo login(UserLoginRequestDto loginRequestDto);

    /**
     * 绑定家人
     * @param familyMemberDto
     */
    void bindElder(FamilyMemberDto familyMemberDto);

    /**
     * 查询我的家人列表
     * @param pageNum
     * @param pageSize
     * @return
     */
    FamilyMemberVo selectMyFamilyList(Integer pageNum, Integer pageSize);

    /**
     * 分页查询家人列表
     * @param pageNum
     * @param pageSize
     * @return
     */
    TableDataInfo<FamilyMemberElderVo> selectFamilyListByPage(Integer pageNum, Integer pageSize);
}
